package com.fintech.third.dao;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.dragon.common.repository.mybatis.MyBatisRepository;
import com.fintech.third.model.AcLinkmanMobile;

@MyBatisRepository
public interface AcLinkmanMobileMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(AcLinkmanMobile record);

	int insertSelective(AcLinkmanMobile record);

	AcLinkmanMobile selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(AcLinkmanMobile record);

	int updateByPrimaryKey(AcLinkmanMobile record);

	void saveLinkmanInfos(@Param("acLinkmanMobiles") List<AcLinkmanMobile> acLinkmanMobiles);

	Date getLinkmanDataTime(String idFintechUmUser);
	
	
	int selectCountByUserId(String userId);
	
	List<Map<String, Object>> selectLinkManInfo(String userId);

}